/*
 * @Author: luoqi
 * @Date: 2022-03-05 14:27:04
 * @LastEditors: luoqi
 * @LastEditTime: 2022-05-04 10:57:58
 * @Description: 
 */
import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

import * as echarts from 'echarts'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import axios from './utils/axios'
//图片验证
import SlideVerify from 'vue-monoplasty-slide-verify';

import utils from './utils/utils'
import qs from "qs";

Vue.use(ElementUI);
Vue.use(SlideVerify);
Vue.prototype.$echarts = echarts;


axios.defaults.baseURL = '/api';
Vue.prototype.$axios = axios;

Vue.prototype.$setStorage = utils.setStorage;
Vue.prototype.$getStorage = utils.getStorage;
Vue.prototype.$removeStorage = utils.removeStorage;
Vue.prototype.$qs = qs;

Vue.prototype.$baseURL = "ws://118.31.71.7:8091";

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
